// 文件路径: src/main/java/com/macro/mall/tiny/modules/pms/mapper/ProductSkuAttrValueMapper.java
package com.macro.mall.tiny.modules.pms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.tiny.modules.pms.model.ProductSkuAttrValue;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductSkuAttrValueMapper extends BaseMapper<ProductSkuAttrValue> {

    /**
     * 根据SKU ID查询属性值列表
     */
    List<ProductSkuAttrValue> selectBySkuId(@Param("skuId") Integer skuId);

    /**
     * 根据SKU ID删除属性值
     */
    int deleteBySkuId(@Param("skuId") Integer skuId);
}
